<html>
<body>
<p>报告 <a href="https://spring.io/projects/spring-security">Spring Security</a> 注解中引用的未解析 Spring Bean。</p>

<p><b>示例：</b></p>
<ul>
  <li>
    <pre><code>@WithUserDetails(value = "admin", userDetailsServiceBeanName = "unknownUserDetailsService")
      // 如果 Spring 模型中没有定义 'unknownUserDetailsService'，将报告 "无法解析 'unknownUserDetailsService' Bean"
    </code></pre>
  </li>
  <li>
    <pre><code>@WithUserDetails(value = "admin", userDetailsServiceBeanName = "jpaUserDetailsService")
      //"Bean 必须为 'org.springframework.security.core.userdetails.UserDetailsService' 类型"
      // 如果 "jpaUserDetailsService" Bean 不是 'UserDetailsService' 类型，将报告
    </code></pre>
  </li>
</ul>
</body>
</html>